﻿<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="utf-8" />
        <title>@ViewBag.Title</title>
        <link href="~/Content/css/styleAdmin.css" type="text/css" rel="stylesheet" />
        <link href="@Url.Content("~/Content/css/menunav.css")" type="text/css" rel="stylesheet"  />
        <link href="@Url.Content("~/Content/css/responsible.css")" type="text/css" rel="stylesheet" media="screen" />
        <link href="~/Content/css/tabcontent.css" rel="stylesheet" />
        <!--[if IE 6]>
        <link href="css/ie6.css" rel="stylesheet" type="text/css" />
        <![endif]-->
        <script type="text/javascript" src="~/Scripts/js/jquery.js"></script>
        <script type="text/javascript" src="~/Scripts/js/jquery-ui.js"></script>
        <script type="text/javascript" src="~/Scripts/js/core.js"></script>
        <script type="text/javascript" src="~/Scripts/js/jquerycore.js"></script>
        <script type="text/javascript" src="~/Scripts/js/lof.js"></script>
        <script type="text/javascript" src="~/Scripts/js/coin-slider.js"></script>
        <script src="~/Scripts/js/prototype-1.js"></script>
        <script src="~/Scripts/js/prototype-base-extensions.js"></script>
        <script src="~/Scripts/js/prototype-date-extensions.js"></script>
        <script src="~/Scripts/js/datepicker.js"></script>
        <script src="~/Scripts/js/tabcontent.js"></script>
<script>
    $(function () {
        var sticky_navigation_offset_top = $('#header').offset().top;
        var sticky_navigation = function () {
            var scroll_top = $(window).scrollTop();
            if (scroll_top > sticky_navigation_offset_top) {
                $('#header').css({ 'position': 'fixed', 'top': 0, 'left': 0, 'z-index': 1000 });
            } else {
                $('#header').css({ 'position': 'relative' });
            }
        };
        sticky_navigation();
        $(window).scroll(function () {
            sticky_navigation();
        });
        $('a[href="#"]').click(function (event) {
            event.preventDefault();
        });
    });
</script>
  <script>
      $(function () {
          $("#datepicker").datepicker();
      });
</script>
    </head>

    <body>
        <header class="clearfix">
                @Html.Partial("_HeaderAdmin")
        </header>
        <div id="body">
            @RenderSection("featured", required: false)
            <section class="content-wrapper main-content clear-fix">
                @RenderBody()
            </section>
        </div>     
    </body>
</html>
